﻿@charset "utf-8";
/*
 * artDialog skin
 * http://code.google.com/p/artdialog/
 * (c) 2009-2012 TangBin, http://www.planeArt.cn
 *
 * This is licensed under the GNU LGPL, version 2.1 or later.
 * For details, see: http://creativecommons.org/licenses/LGPL/2.1/
 */

/* common start */
body {
    _margin: 0;
    _height: 100%;
}
/*IE6 BUG*/
.d-outer {
    text-align: left;
}

.d-border, .d-dialog {
    border: 0 none;
    margin: 0;
    border-collapse: collapse;
    width: auto;
}

.d-nw, .d-n, .d-ne, .d-w, .d-c, .d-e, .d-sw, .d-s, .d-se, .d-header, .d-main, .d-footer {
    padding: 0;
}

.d-footer {
    border-top: 1px solid #ddd;
    
}

.d-title {
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
}

.d-state-noTitle .d-title {
    display: none;
}

.d-close {
    display: block;
    position: absolute;
    text-decoration: none;
    outline: none;
    _cursor: pointer;
}

.d-close:hover {
    text-decoration: none;
}

.d-main {
    text-align: center;
    vertical-align: middle;
    min-width: 9em;
}

.d-content {
    display: inline-block;
    display: block\0 /*IE8 BUG*/;
    display: inline-block\9 \0;
    *zoom: 1;
    *display: inline;
    border: 0 none;
}

.d-content.d-state-full {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0 !important;
    height: 100%;
}

.d-loading {
    width: 96px;
    height: 32px;
    text-align: left;
    text-indent: -999em;
    overflow: hidden;
    background: url(loading.gif) no-repeat center center;
}

.d-buttons {
    margin:1px 0 0 0;
    padding: 1px;
    text-align: right;
    white-space: nowrap;
    background:#f5f5f5;
}

.d-button {
    display: inline-block;
    *display: inline;
    padding: 4px 12px;
    margin:10px 10px 10px 0;
    font-size: 12px;
    line-height: 20px;
    color: #333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255,255,255,0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    *background-color: #e6e6e6;
    background-image: -moz-linear-gradient(top, #fff, #e6e6e6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#e6e6e6));
    background-image: -webkit-linear-gradient(top, #fff, #e6e6e6);
    background-image: -o-linear-gradient(top, #fff, #e6e6e6);
    background-image: linear-gradient(to bottom, #fff, #e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #ccc;
    *border: 0;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    border-bottom-color: #b3b3b3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    *zoom: 1;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
}

.d-button::-moz-focus-inner, .d-button::-moz-focus-outer {
    border: 0 none;
    padding: 0;
    margin: 0;
}

.d-button:focus {
    outline: none 0;
}

.d-button:hover {
    color: #000;
}

.d-button:active {
}

.d-button[disabled] {
    cursor: default;
    color: #666;
    background: #DDD;
    border: 1px solid #999;
    filter: alpha(opacity=50);
    opacity: .5;
    box-shadow: none;
}

.d-state-highlight {
    color: #f4f4f4;
    text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
    background-color: #da4f49;
    *background-color: #bd362f;
    background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
    background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
    background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
    background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
    background-repeat: repeat-x;
    border-color: #bd362f #bd362f #802420;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
}

.d-state-highlight:hover {
    color: #fff;
    background-color: #bd362f;
    *background-color: #a9302a;
}

.d-state-highlight:active {
    color: rgba(255,255,255,0.75);
    background: #bb302a;
}

.d-mask {
    background: #000;
    filter: alpha(opacity=70);
    opacity: .7;
}
/* common end */

.d-inner {
    background: #FFF;
}

.d-titleBar {
    width: 100%;
}

.d-title {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 22px;
    text-align: left;
    text-indent: -999em;
    font-size: 0;
}

.d-nw {
    width: 15px;
    height: 15px;
}

.d-ne {
    width: 15px;
    height: 15px;
}

.d-sw {
    width: 15px;
    height: 15px;
}

.d-se {
    width: 15px;
    height: 15px;
}

.d-close {
    position: absolute;
    right: -34px;
    top: -8px;
    _z-index: 1;
    width: 34px;
    height: 34px;
    _font-size: 0;
    _line-height: 0;
    text-align:left;
    font-size:30px;
    background-position: 0 -60px;
    color: #ccc;
}

.d-close:hover {
    background-position: 0 -94px;
    color: #ccc;
}

.d-n, .d-s {
    background-repeat: repeat-x;
}

.d-n {
    background-position: 0 -30px;
}

.d-s {
    background-position: 0 -45px;
}

.d-w {
    background-position: left top;
}

.d-e {
    background-position: right bottom;
}

@media screen and (min-width:0) { /* css3 */
    .d-nw, .d-ne, .d-sw, .d-se {
        width: 1px;
        height: 1px;
    }

    .d-nw, .d-n, .d-ne, .d-w, .d-e, .d-sw, .d-s, .d-se {
        background: none;
    }

    .d-sw, .d-s, .d-se {
        background: url(idialog/idialog_s.gif) repeat-x 0 -45px;
    }

    .d-sw {
        border-radius: 0 0 0 5px;
    }

    .d-se {
        border-radius: 0 0 5px 0;
    }

    .d-outer {
        border-radius: 5px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, .2);
        -moz-transition: -moz-box-shadow linear .2s;
        -webkit-transition: -webkit-box-shadow linear .2s;
        transition: -webkit-box-shadow linear .2s;
    }

    .d-border {
        background: #FFF;
    }

    .d-state-drag {
        box-shadow: none;
    }

    .d-state-lock {
        box-shadow: 0 3px 26px rgba(0, 0, 0, .9);
    }

    .d-outer:active {
        box-shadow: 0 0 5px rgba(0, 0, 0, .1) !important;
    }

    .d-state-drag {
        box-shadow: none !important;
    }

    .d-close {
        right: -34px;
        top: -16px;
    }

    .d-outer {
        -webkit-transform: scale(0);
        transform: scale(0);
        -webkit-transition: -webkit-box-shadow .2s ease-in-out, -webkit-transform .2s ease-in-out;
        transition: box-shadow .2s ease-in-out, transform .2s ease-in-out;
    }

    .d-state-visible {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@media screen and (-webkit-min-device-pixel-ratio:0) { /* apple | webkit */
    .d-close {
        left: auto;
        right: -40px;
        top: -5px;
        color: #fff !important;
        line-height: 20px;
        font-size: 35px;
        font-family:Consolas !important;
    }
}

d-close {
    display: none !important;
}
